<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Markmap</title>
<style>
* {
  margin: 0;
  padding: 0;
}
#mindmap {
  display: block;
  width: 100vw;
  height: 100vh;
}
</style>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/markmap-toolbar@0.18.10/dist/style.css">
</head>
<body>
<svg id="mindmap"></svg>
<script src="https://cdn.jsdelivr.net/npm/d3@7.9.0/dist/d3.min.js"></script><script src="https://cdn.jsdelivr.net/npm/markmap-view@0.18.10/dist/browser/index.js"></script><script src="https://cdn.jsdelivr.net/npm/markmap-toolbar@0.18.10/dist/index.js"></script><script>(r => {
              setTimeout(r);
            })(function renderToolbar() {
  const {
    markmap,
    mm
  } = window;
  const {
    el
  } = markmap.Toolbar.create(mm);
  el.setAttribute('style', 'position:absolute;bottom:20px;right:20px');
  document.body.append(el);
})</script><script>((getMarkmap, getOptions, root2, jsonOptions) => {
              const markmap = getMarkmap();
              window.mm = markmap.Markmap.create(
                "svg#mindmap",
                (getOptions || markmap.deriveOptions)(jsonOptions),
                root2
              );
            })(() => window.markmap,null,{"content":"GenBotter_FreeRTOS知识树","children":[{"content":"1. <strong>&#x6982;&#x8ff0;</strong>","children":[{"content":"1.1. <strong>&#x4ec0;&#x4e48;&#x662f; FreeRTOS&#xff1f;</strong>","children":[{"content":"&#x4e00;&#x79cd;&#x5f00;&#x6e90;&#x7684;RTOS","children":[],"payload":{"tag":"li","lines":"9,10"}},{"content":"&#x4e13;&#x4e3a;&#x8d44;&#x6e90;&#x53d7;&#x9650;&#x7684;&#x5d4c;&#x5165;&#x5f0f;&#x7cfb;&#x7edf;&#x8bbe;&#x8ba1;","children":[],"payload":{"tag":"li","lines":"10,11"}},{"content":"&#x4e0e;&#x88f8;&#x673a;&#x7cfb;&#x7edf;&#x4e0d;&#x540c;","children":[],"payload":{"tag":"li","lines":"11,12"}},{"content":"&#x5f00;&#x6e90;&#x514d;&#x8d39;&#xff08;MIT &#x8bb8;&#x53ef;&#x8bc1;&#xff09;","children":[],"payload":{"tag":"li","lines":"12,14"}}],"payload":{"tag":"h2","lines":"7,8"}},{"content":"1.2. <strong>&#x7279;&#x70b9;</strong>","children":[{"content":"&#x6838;&#x5fc3;","children":[{"content":"&#x591a;&#x4efb;&#x52a1;&#x8c03;&#x5ea6;&#x5668;","children":[],"payload":{"tag":"li","lines":"17,18"}},{"content":"&#x901a;&#x4fe1;&#x673a;&#x5236;","children":[{"content":"&#x4fe1;&#x53f7;&#x91cf;","children":[],"payload":{"tag":"li","lines":"19,20"}},{"content":"&#x961f;&#x5217;","children":[],"payload":{"tag":"li","lines":"20,21"}},{"content":"&#x65f6;&#x95f4;&#x6807;&#x5fd7;&#x7ec4;","children":[],"payload":{"tag":"li","lines":"21,22"}}],"payload":{"tag":"li","lines":"18,22"}},{"content":"&#x5185;&#x5b58;&#x7ba1;&#x7406;","children":[],"payload":{"tag":"li","lines":"22,23"}},{"content":"&#x65f6;&#x949f;&#x7ba1;&#x7406;","children":[],"payload":{"tag":"li","lines":"23,24"}}],"payload":{"tag":"li","lines":"16,24"}},{"content":"&#x652f;&#x6301;&#x591a;&#x4efb;&#x52a1;&#x5e76;&#x53d1;","children":[{"content":"&#x62a2;&#x5360;&#x5f0f;&#x8c03;&#x5ea6;","children":[{"content":"&#x6309;&#x4efb;&#x52a1;&#x4f18;&#x5148;&#x7ea7;&#x5206;&#x914d;CPU&#x8d44;&#x6e90;","children":[],"payload":{"tag":"li","lines":"26,27"}}],"payload":{"tag":"li","lines":"25,27"}},{"content":"&#x65f6;&#x95f4;&#x7247;&#x8f6e;&#x8f6c;","children":[{"content":"&#x540c;&#x4f18;&#x5148;&#x7ea7;&#x4efb;&#x52a1;&#xff0c;CPU&#x6309;&#x65f6;&#x95f4;&#x7247;&#x8f6e;&#x8f6c;&#x6267;&#x884c;","children":[],"payload":{"tag":"li","lines":"28,29"}}],"payload":{"tag":"li","lines":"27,29"}}],"payload":{"tag":"li","lines":"24,29"}},{"content":"&#x4efb;&#x52a1;&#x72b6;&#x6001;","children":[{"content":"&#x8fd0;&#x884c;","children":[],"payload":{"tag":"li","lines":"30,31"}},{"content":"&#x5c31;&#x7eea;","children":[],"payload":{"tag":"li","lines":"31,32"}},{"content":"&#x963b;&#x585e;","children":[],"payload":{"tag":"li","lines":"32,33"}},{"content":"&#x6302;&#x8d77;","children":[],"payload":{"tag":"li","lines":"33,35"}}],"payload":{"tag":"li","lines":"29,35"}}],"payload":{"tag":"h2","lines":"14,15"}},{"content":"1.3. <strong>&#x9002;&#x7528;&#x573a;&#x666f;</strong>","children":[{"content":"&#x5de5;&#x4e1a;&#x63a7;&#x5236;","children":[],"payload":{"tag":"li","lines":"37,38"}},{"content":"&#x7269;&#x8054;&#x7f51;&#x8bbe;&#x5907;","children":[],"payload":{"tag":"li","lines":"38,39"}},{"content":"&#x6d88;&#x8d39;&#x7535;&#x5b50;","children":[],"payload":{"tag":"li","lines":"39,40"}},{"content":"&#x6c7d;&#x8f66;&#x7535;&#x5b50;","children":[],"payload":{"tag":"li","lines":"40,41"}},{"content":"&#x533b;&#x7597;&#x8bbe;&#x5907;","children":[],"payload":{"tag":"li","lines":"41,43"}}],"payload":{"tag":"h2","lines":"35,36"}}],"payload":{"tag":"h1","lines":"5,6"}},{"content":"2. &#x521b;&#x5efa;&#x5f00;&#x53d1;&#x73af;&#x5883;","children":[{"content":"2.1. <strong>&#x5de5;&#x5177;</strong>","children":[{"content":"STM32CubeIDE&#xff08;&#x8f6f;&#x4ef6;&#xff09;","children":[],"payload":{"tag":"li","lines":"47,48"}},{"content":"&#x5f00;&#x53d1;&#x677f;&#xff08;&#x786c;&#x4ef6;&#xff0c;&#x5982;STM32F103&#x5f00;&#x53d1;&#x677f;&#xff09;","children":[],"payload":{"tag":"li","lines":"48,49"}},{"content":"&#x4e0b;&#x8f7d;&#x5668;&#xff08;&#x5982;ST-Link V2.1&#xff09;","children":[],"payload":{"tag":"li","lines":"49,51"}}],"payload":{"tag":"h2","lines":"45,46"}},{"content":"2.2. <strong>&#x521b;&#x5efa;&#x6b65;&#x9aa4;</strong>","children":[{"content":"step1:&#x521b;&#x5efa;&#x5de5;&#x7a0b;","children":[],"payload":{"tag":"li","lines":"53,54"}},{"content":"step2&#xff1a;CubeMX&#x914d;&#x7f6e;","children":[{"content":"&#x914d;&#x7f6e;&#x9700;&#x8981;&#x7528;&#x5230;&#x7684;&#x786c;&#x4ef6;&#xff08;&#x5982;GPIO&#xff09;","children":[],"payload":{"tag":"li","lines":"55,56"}},{"content":"&#x914d;&#x7f6e;&#x65f6;&#x949f;","children":[],"payload":{"tag":"li","lines":"56,57"}},{"content":"&#x914d;&#x7f6e;Sys","children":[{"content":"debug&#x6a21;&#x5f0f;&#xff08;&#x5982;Serial Wire&#xff09;","children":[],"payload":{"tag":"li","lines":"58,59"}},{"content":"hal&#x5e93;&#x7684;&#x65f6;&#x57fa;&#x6e90;Timebase Source&#xff08;&#x4e0d;&#x7528;SysTick&#xff0c;&#x4ee5;&#x514d;&#x548c;RTOS&#x51b2;&#x7a81;&#xff09;","children":[],"payload":{"tag":"li","lines":"59,60"}}],"payload":{"tag":"li","lines":"57,60"}},{"content":"&#x914d;&#x7f6e;FreeRTOS","children":[{"content":"&#x5728;Middleware&#x4e2d;&#x627e;","children":[],"payload":{"tag":"li","lines":"61,62"}},{"content":"&#x6dfb;&#x52a0;&#x4efb;&#x52a1;&#x3001;&#x961f;&#x5217;&#x7b49;","children":[],"payload":{"tag":"li","lines":"62,63"}},{"content":"&#x5728;Advanced settings&#x4e2d;&#x4f7f;&#x80fd;USE_NEWLIB_REENTRANT","children":[],"payload":{"tag":"li","lines":"63,64"}}],"payload":{"tag":"li","lines":"60,64"}},{"content":"&#x751f;&#x6210;&#x4ee3;&#x7801;","children":[],"payload":{"tag":"li","lines":"64,65"}}],"payload":{"tag":"li","lines":"54,65"}},{"content":"step3&#xff1a;&#x7ed9;&#x4efb;&#x52a1;&#x7684;&#x5165;&#x53e3;&#x51fd;&#x6570;&#x624b;&#x52a8;&#x6dfb;&#x52a0;&#x4ee3;&#x7801;","children":[],"payload":{"tag":"li","lines":"65,66"}},{"content":"step4&#xff1a;&#x7f16;&#x8bd1;&#x4e0b;&#x8f7d;&#x8c03;&#x8bd5;","children":[],"payload":{"tag":"li","lines":"66,68"}}],"payload":{"tag":"h2","lines":"51,52"}},{"content":"2.3. <strong>&#x4ee3;&#x7801;&#x5c42;&#x7ea7;&#x67b6;&#x6784;</strong>","children":[{"content":"&#x786c;&#x4ef6;&#x5c42;&#xff08;&#x5982;STM32F103VET6&#x82af;&#x7247;&#xff09;","children":[],"payload":{"tag":"li","lines":"70,71"}},{"content":"&#x786c;&#x4ef6;&#x62bd;&#x8c61;&#x5c42;&#xff08;HAL&#xff09;","children":[{"content":"&#x6700;&#x5185;&#x5c42;&#xff0c;&#x76f4;&#x63a5;&#x64cd;&#x4f5c;&#x786c;&#x4ef6;","children":[],"payload":{"tag":"li","lines":"72,73"}}],"payload":{"tag":"li","lines":"71,73"}},{"content":"FreeRTOS&#x5185;&#x6838;&#x5c42;","children":[{"content":"&#x8c03;&#x5ea6;&#x548c;&#x7ba1;&#x7406;&#x4efb;&#x52a1;&#x7684;&#x6838;&#x5fc3;&#x5c42;&#xff0c;&#x8d1f;&#x8d23;&#x7cfb;&#x7edf;&#x8d44;&#x6e90;&#x7ba1;&#x7406;","children":[],"payload":{"tag":"li","lines":"74,75"}}],"payload":{"tag":"li","lines":"73,75"}},{"content":"&#x7cfb;&#x7edf;&#x521d;&#x59cb;&#x5316;&#x5c42;","children":[{"content":"&#x521d;&#x59cb;&#x5316;&#x7cfb;&#x7edf;&#x65f6;&#x949f;&#x3001;&#x786c;&#x4ef6;&#x5916;&#x8bbe;&#x3001;FreeRTOS&#x5185;&#x6838;&#x7b49;","children":[],"payload":{"tag":"li","lines":"76,77"}}],"payload":{"tag":"li","lines":"75,77"}},{"content":"&#x4efb;&#x52a1;&#x5c42;","children":[{"content":"&#x521b;&#x5efa;&#x7684;&#x5177;&#x4f53;&#x4efb;&#x52a1;","children":[],"payload":{"tag":"li","lines":"78,79"}}],"payload":{"tag":"li","lines":"77,79"}},{"content":"&#x5e94;&#x7528;&#x5c42;","children":[{"content":"&#x5177;&#x4f53;&#x7684;&#x4e1a;&#x52a1;&#x903b;&#x8f91;&#x4ee3;&#x7801;","children":[],"payload":{"tag":"li","lines":"80,82"}}],"payload":{"tag":"li","lines":"79,82"}}],"payload":{"tag":"h2","lines":"68,69"}}],"payload":{"tag":"h1","lines":"43,44"}},{"content":"3. &#x4efb;&#x52a1;&#x72b6;&#x6001;","children":[{"content":"3.1. &#x72b6;&#x6001;&#x7c7b;&#x578b;","children":[{"content":"&#x8fd0;&#x884c;&#x6001;&#xff08;Running&#xff09;","children":[{"content":"&#x542b;&#x4e49;","children":[{"content":"&#x4efb;&#x52a1;&#x6b63;&#x5728;&#x5360;&#x7528; CPU &#x8d44;&#x6e90;&#xff0c;&#x5176;&#x4ee3;&#x7801;&#x6b63;&#x5728;&#x88ab;&#x6267;&#x884c;&#x3002;&#xff08;&#x5355;&#x6838;CPU&#xff09;&#x67d0;&#x4e00;&#x65f6;&#x523b;&#x6700;&#x591a;&#x53ea;&#x6709;&#x4e00;&#x4e2a;&#x4efb;&#x52a1;&#x5904;&#x4e8e;&#x8fd0;&#x884c;&#x6001;","children":[],"payload":{"tag":"li","lines":"88,89"}}],"payload":{"tag":"li","lines":"87,89"}},{"content":"&#x793a;&#x4f8b;","children":[{"content":"&#x667a;&#x80fd;&#x5bb6;&#x5c45;&#x63a7;&#x5236;&#xff0c;&#x6709;&#x6e29;&#x5ea6;&#x76d1;&#x6d4b;&#x3001;&#x706f;&#x5149;&#x63a7;&#x5236;&#x7b49;&#x591a;&#x4e2a;&#x4efb;&#x52a1;&#x3002;&#x5f53;&#x6e29;&#x5ea6;&#x76d1;&#x6d4b;&#x4efb;&#x52a1;&#x6b63;&#x8bfb;&#x53d6;&#x6e29;&#x5ea6;&#x4f20;&#x611f;&#x5668;&#x6570;&#x636e;&#x5e76;&#x5904;&#x7406;&#xff0c;&#x8be5;&#x4efb;&#x52a1;&#x5904;&#x4e8e;&#x8fd0;&#x884c;&#x6001;&#x3002;","children":[],"payload":{"tag":"li","lines":"90,91"}}],"payload":{"tag":"li","lines":"89,91"}}],"payload":{"tag":"li","lines":"86,91"}},{"content":"&#x5c31;&#x7eea;&#x6001;&#xff08;Ready&#xff09;","children":[{"content":"&#x542b;&#x4e49;","children":[{"content":"&#x4efb;&#x52a1;&#x5df2;&#x7ecf;&#x5177;&#x5907;&#x4e86;&#x8fd0;&#x884c;&#x7684;&#x6761;&#x4ef6;&#xff0c;&#x4f46;&#x5f53;&#x524d;&#x5176;&#x4ed6;&#x4efb;&#x52a1;&#x6b63;&#x5728;&#x8fd0;&#x884c;&#xff0c;&#x5c31;&#x7eea;&#x6001;&#x4efb;&#x52a1;&#x88ab;&#x653e;&#x5728;&#x5c31;&#x7eea;&#x5217;&#x8868;&#x4e2d;&#xff0c;&#x7b49;&#x8c03;&#x5ea6;&#x5668;&#x8c03;&#x7528;&#x3002;","children":[],"payload":{"tag":"li","lines":"93,94"}}],"payload":{"tag":"li","lines":"92,94"}},{"content":"&#x793a;&#x4f8b;&#x573a;&#x666f;","children":[{"content":"&#x706f;&#x5149;&#x63a7;&#x5236;&#x4efb;&#x52a1;&#x5df2;&#x7ecf;&#x5b8c;&#x6210;&#x4e86;&#x521d;&#x59cb;&#x5316;&#xff0c;&#x76f8;&#x5173;&#x7684;&#x786c;&#x4ef6;&#x90fd;&#x5df2;&#x51c6;&#x5907;&#x597d;&#xff0c;&#x4f46;&#x6e29;&#x5ea6;&#x76d1;&#x6d4b;&#x4efb;&#x52a1;&#x6b63;&#x5728;&#x8fd0;&#x884c;&#xff0c;&#x90a3;&#x7b49;&#x5f85;&#x6e29;&#x5ea6;&#x76d1;&#x6d4b;&#x4efb;&#x52a1;&#x5b8c;&#x6bd5;&#x6216;&#x8c03;&#x5ea6;&#x5668;&#x6839;&#x636e;&#x4f18;&#x5148;&#x7ea7;&#x5207;&#x6362;&#x3002;","children":[],"payload":{"tag":"li","lines":"95,96"}}],"payload":{"tag":"li","lines":"94,96"}}],"payload":{"tag":"li","lines":"91,96"}},{"content":"&#x963b;&#x585e;&#x6001;&#xff08;Blocked&#xff09;","children":[{"content":"&#x542b;&#x4e49;","children":[{"content":"&#x4efb;&#x52a1;&#x5728;&#x7b49;&#x5f85;&#x67d0;&#x4e2a;&#x4e8b;&#x4ef6;&#x53d1;&#x751f;&#xff08;&#x5982;&#x7b49;&#x5f85;&#x4e00;&#x4e2a;&#x7279;&#x5b9a;&#x7684;&#x65f6;&#x95f4;&#x5230;&#x671f;&#x3001;&#x7b49;&#x5f85;&#x4e00;&#x4e2a;&#x4fe1;&#x53f7;&#x91cf;&#x3001;&#x6d88;&#x606f;&#x961f;&#x5217;&#x4e2d;&#x7684;&#x6570;&#x636e;&#x7b49;&#xff09;&#x65f6;&#x8fdb;&#x5165;&#x963b;&#x585e;&#x6001;&#x3002;&#x5904;&#x4e8e;&#x963b;&#x585e;&#x6001;&#x7684;&#x4efb;&#x52a1;&#x4e0d;&#x4f1a;&#x88ab;&#x8c03;&#x5ea6;&#x5668;&#x9009;&#x4e2d;&#x8fd0;&#x884c;&#xff0c;&#x76f4;&#x5230;&#x5b83;&#x7b49;&#x5f85;&#x7684;&#x4e8b;&#x4ef6;&#x53d1;&#x751f;&#x3002;","children":[],"payload":{"tag":"li","lines":"98,99"}}],"payload":{"tag":"li","lines":"97,99"}},{"content":"&#x793a;&#x4f8b;&#x573a;&#x666f;","children":[{"content":"&#x6570;&#x636e;&#x91c7;&#x96c6;&#x7cfb;&#x7edf;&#x4e2d;&#xff0c;&#x4e00;&#x4e2a;&#x4efb;&#x52a1;&#x8d1f;&#x8d23;&#x4ece;&#x4f20;&#x611f;&#x5668;&#x91c7;&#x96c6;&#x6570;&#x636e;&#xff0c;&#x7136;&#x540e;&#x5c06;&#x6570;&#x636e;&#x53d1;&#x9001;&#x5230;&#x6d88;&#x606f;&#x961f;&#x5217;&#x3002;&#x5982;&#x679c;&#x6d88;&#x606f;&#x961f;&#x5217;&#x5df2;&#x6ee1;&#xff0c;&#x8be5;&#x4efb;&#x52a1;&#x5728;&#x5c1d;&#x8bd5;&#x5411;&#x961f;&#x5217;&#x53d1;&#x9001;&#x6570;&#x636e;&#x65f6;&#x5c31;&#x4f1a;&#x8fdb;&#x5165;&#x963b;&#x585e;&#x6001;&#xff0c;&#x76f4;&#x5230;&#x961f;&#x5217;&#x4e2d;&#x6709;&#x7a7a;&#x95f4;&#x53ef;&#x4ee5;&#x5b58;&#x653e;&#x65b0;&#x7684;&#x6570;&#x636e;&#x3002;","children":[],"payload":{"tag":"li","lines":"100,101"}}],"payload":{"tag":"li","lines":"99,101"}}],"payload":{"tag":"li","lines":"96,101"}},{"content":"&#x6302;&#x8d77;&#x6001;&#xff08;Suspended&#xff09;","children":[{"content":"&#x542b;&#x4e49;","children":[{"content":"&#x4e00;&#x79cd;&#x7279;&#x6b8a;&#x7684;&#x72b6;&#x6001;&#xff0c;&#x4efb;&#x52a1;&#x53ef;&#x4ee5;&#x901a;&#x8fc7;&#x8c03;&#x7528;vTaskSuspend()&#x51fd;&#x6570;&#x88ab;&#x660e;&#x786e;&#x5730;&#x6302;&#x8d77;&#xff0c;&#x4e5f;&#x53ef;&#x4ee5;&#x901a;&#x8fc7;&#x8c03;&#x7528;vTaskResume()&#x51fd;&#x6570;&#x88ab;&#x6062;&#x590d;&#x3002;&#x5904;&#x4e8e;&#x6302;&#x8d77;&#x6001;&#x7684;&#x4efb;&#x52a1;&#x4e0d;&#x4f1a;&#x88ab;&#x8c03;&#x5ea6;&#x5668;&#x8c03;&#x5ea6;&#x8fd0;&#x884c;&#xff0c;&#x4e0d;&#x5360;&#x7528;CPU&#x65f6;&#x95f4;&#xff0c;&#x76f4;&#x88ab;&#x6062;&#x590d;&#x4e3a;&#x5c31;&#x7eea;&#x6001;","children":[],"payload":{"tag":"li","lines":"103,104"}}],"payload":{"tag":"li","lines":"102,104"}},{"content":"&#x793a;&#x4f8b;&#x573a;&#x666f;","children":[{"content":"&#x5728;&#x4e00;&#x4e2a;&#x590d;&#x6742;&#x7684;&#x5de5;&#x4e1a;&#x63a7;&#x5236;&#x7cfb;&#x7edf;&#x4e2d;&#xff0c;&#x53ef;&#x80fd;&#x6709;&#x4e00;&#x4e9b;&#x4efb;&#x52a1;&#x5728;&#x67d0;&#x4e9b;&#x7279;&#x5b9a;&#x7684;&#x60c5;&#x51b5;&#x4e0b;&#x9700;&#x8981;&#x6682;&#x505c;&#x8fd0;&#x884c;&#xff0c;&#x4f8b;&#x5982;&#x5728;&#x7cfb;&#x7edf;&#x8fdb;&#x884c;&#x7ef4;&#x62a4;&#x64cd;&#x4f5c;&#x65f6;&#x3002;&#x6b64;&#x65f6;&#xff0c;&#x53ef;&#x4ee5;&#x5c06;&#x8fd9;&#x4e9b;&#x4efb;&#x52a1;&#x6302;&#x8d77;&#xff0c;&#x7b49;&#x7ef4;&#x62a4;&#x64cd;&#x4f5c;&#x5b8c;&#x6210;&#x540e;&#x518d;&#x6062;&#x590d;&#x5b83;&#x4eec;&#x7684;&#x8fd0;&#x884c;&#x3002;","children":[],"payload":{"tag":"li","lines":"105,107"}}],"payload":{"tag":"li","lines":"104,107"}}],"payload":{"tag":"li","lines":"101,107"}}],"payload":{"tag":"h2","lines":"84,85"}},{"content":"3.2. &#x72b6;&#x6001;&#x8f6c;&#x6362;","children":[{"content":"&#x5c31;&#x7eea;&#x6001;&#x5230;&#x8fd0;&#x884c;&#x6001;","children":[{"content":"&#x6761;&#x4ef6;","children":[{"content":"&#x62a2;&#x5360;&#x5f0f;&#x8c03;&#x5ea6;","children":[{"content":"&#x9ad8;&#x4f18;&#x5148;&#x7ea7;&#x7684;&#x5c31;&#x7eea;&#x4efb;&#x52a1;&#x51fa;&#x73b0;&#x65f6;&#xff0c;&#x8c03;&#x5ea6;&#x5668;&#x4f1a;&#x7acb;&#x5373;&#x6682;&#x505c;&#x5f53;&#x524d;&#x8fd0;&#x884c;&#x7684;&#x4f4e;&#x4f18;&#x5148;&#x7ea7;&#x4efb;&#x52a1;&#xff08;&#x53d8;&#x4e3a;&#x5c31;&#x7eea;&#x6001;&#xff09;&#xff0c;&#x5c06;&#x9ad8;&#x4f18;&#x5148;&#x7ea7;&#x7684;&#x5c31;&#x7eea;&#x4efb;&#x52a1;&#x5207;&#x6362;&#x5230;&#x8fd0;&#x884c;&#x6001;&#x3002;","children":[],"payload":{"tag":"li","lines":"112,113"}}],"payload":{"tag":"li","lines":"111,113"}},{"content":"&#x65f6;&#x95f4;&#x7247;&#x8f6e;&#x8f6c;&#x8c03;&#x5ea6;","children":[{"content":"&#x76f8;&#x540c;&#x4f18;&#x5148;&#x7ea7;&#x7684;&#x591a;&#x4e2a;&#x5c31;&#x7eea;&#x4efb;&#x52a1;&#xff0c;&#x8c03;&#x5ea6;&#x5668;&#x4f1a;&#x6309;&#x7167;&#x65f6;&#x95f4;&#x7247;&#x5206;&#x914d;&#x539f;&#x5219;&#xff0c;&#x5f53;&#x5f53;&#x524d;&#x8fd0;&#x884c;&#x4efb;&#x52a1;&#x7684;&#x65f6;&#x95f4;&#x7247;&#x7528;&#x5b8c;&#x540e;&#xff0c;&#x5c06;&#x4e0b;&#x4e00;&#x4e2a;&#x5c31;&#x7eea;&#x4efb;&#x52a1;&#x5207;&#x6362;&#x5230;&#x8fd0;&#x884c;&#x6001;&#x3002;","children":[],"payload":{"tag":"li","lines":"114,115"}}],"payload":{"tag":"li","lines":"113,115"}}],"payload":{"tag":"li","lines":"110,115"}},{"content":"&#x76f8;&#x5173;&#x51fd;&#x6570;","children":[{"content":"&#x7531; FreeRTOS &#x8c03;&#x5ea6;&#x5668;&#x81ea;&#x52a8;&#x5b8c;&#x6210;&#xff0c;&#x65e0;&#x9700;&#x7528;&#x6237;&#x624b;&#x52a8;&#x8c03;&#x7528;&#x51fd;&#x6570;&#x3002;","children":[],"payload":{"tag":"li","lines":"116,117"}}],"payload":{"tag":"li","lines":"115,117"}}],"payload":{"tag":"li","lines":"109,117"}},{"content":"&#x8fd0;&#x884c;&#x6001;&#x5230;&#x5c31;&#x7eea;&#x6001;","children":[{"content":"&#x6761;&#x4ef6;","children":[{"content":"&#x65f6;&#x95f4;&#x7247;&#x7528;&#x5b8c;","children":[{"content":"&#x65f6;&#x95f4;&#x7247;&#x8f6e;&#x8f6c;&#x8c03;&#x5ea6;&#x4e2d;&#xff0c;&#x5f53;&#x8fd0;&#x884c;&#x4efb;&#x52a1;&#x7684;&#x65f6;&#x95f4;&#x7247;&#x8017;&#x5c3d;&#xff0c;&#x8c03;&#x5ea6;&#x5668;&#x4f1a;&#x5c06;&#x8be5;&#x4efb;&#x52a1;&#x4ece;&#x8fd0;&#x884c;&#x6001;&#x5207;&#x6362;&#x5230;&#x5c31;&#x7eea;&#x6001;&#xff0c;&#x7136;&#x540e;&#x9009;&#x62e9;&#x4e0b;&#x4e00;&#x4e2a;&#x540c;&#x4f18;&#x5148;&#x7ea7;&#x7684;&#x5c31;&#x7eea;&#x4efb;&#x52a1;&#x8fd0;&#x884c;&#x3002;","children":[],"payload":{"tag":"li","lines":"120,121"}}],"payload":{"tag":"li","lines":"119,121"}},{"content":"&#x66f4;&#x9ad8;&#x4f18;&#x5148;&#x7ea7;&#x4efb;&#x52a1;&#x5c31;&#x7eea;","children":[{"content":"&#x5f53;&#x524d;&#x4efb;&#x52a1;&#x8fd0;&#x884c;&#x65f6;&#xff0c;&#x6709;&#x66f4;&#x9ad8;&#x4f18;&#x5148;&#x7ea7;&#x7684;&#x4efb;&#x52a1;&#x53d8;&#x4e3a;&#x5c31;&#x7eea;&#x6001;&#xff0c;&#x8c03;&#x5ea6;&#x5668;&#x4f1a;&#x7acb;&#x5373;&#x6682;&#x505c;&#x5f53;&#x524d;&#x8fd0;&#x884c;&#x4efb;&#x52a1;&#xff0c;&#x5c06;&#x5176;&#x7f6e;&#x4e8e;&#x5c31;&#x7eea;&#x6001;&#xff0c;&#x8f6c;&#x800c;&#x8ba9;&#x9ad8;&#x4f18;&#x5148;&#x7ea7;&#x4efb;&#x52a1;&#x8fdb;&#x5165;&#x8fd0;&#x884c;&#x6001;&#x3002;","children":[],"payload":{"tag":"li","lines":"122,123"}}],"payload":{"tag":"li","lines":"121,123"}}],"payload":{"tag":"li","lines":"118,123"}},{"content":"&#x76f8;&#x5173;&#x51fd;&#x6570;","children":[{"content":"&#x7531; FreeRTOS &#x8c03;&#x5ea6;&#x5668;&#x81ea;&#x52a8;&#x5b8c;&#x6210;&#xff0c;&#x65e0;&#x9700;&#x7528;&#x6237;&#x624b;&#x52a8;&#x8c03;&#x7528;&#x51fd;&#x6570;&#x3002;","children":[],"payload":{"tag":"li","lines":"124,125"}}],"payload":{"tag":"li","lines":"123,125"}}],"payload":{"tag":"li","lines":"117,125"}},{"content":"&#x8fd0;&#x884c;&#x6001;&#x5230;&#x963b;&#x585e;&#x6001;","children":[{"content":"&#x6761;&#x4ef6;","children":[{"content":"&#x5f53;&#x8fd0;&#x884c;&#x4efb;&#x52a1;&#x9700;&#x8981;&#x7b49;&#x5f85;&#x67d0;&#x4e2a;&#x4e8b;&#x4ef6;&#x53d1;&#x751f;&#x65f6;&#xff0c;&#x5982;&#x7b49;&#x5f85;&#x4e00;&#x4e2a;&#x7279;&#x5b9a;&#x7684;&#x65f6;&#x95f4;&#x5230;&#x671f;&#x3001;&#x7b49;&#x5f85;&#x4e00;&#x4e2a;&#x4fe1;&#x53f7;&#x91cf;&#x3001;&#x6d88;&#x606f;&#x961f;&#x5217;&#x4e2d;&#x7684;&#x6570;&#x636e;&#x7b49;&#xff0c;&#x4efb;&#x52a1;&#x4f1a;&#x4e3b;&#x52a8;&#x8fdb;&#x5165;&#x963b;&#x585e;&#x6001;&#x3002;","children":[],"payload":{"tag":"li","lines":"127,128"}}],"payload":{"tag":"li","lines":"126,128"}},{"content":"&#x76f8;&#x5173;&#x51fd;&#x6570;","children":[{"content":"vTaskDelay()&#xff1a;&#x4efb;&#x52a1;&#x8c03;&#x7528;&#x8be5;&#x51fd;&#x6570;&#x540e;&#x4f1a;&#x8fdb;&#x5165;&#x963b;&#x585e;&#x6001;&#xff0c;&#x76f4;&#x5230;&#x6307;&#x5b9a;&#x7684;&#x65f6;&#x95f4;&#x5230;&#x671f;&#x3002;&#x4f8b;&#x5982;&#xff0c;vTaskDelay(pdMS_TO_TICKS(1000)); &#x4f1a;&#x4f7f;&#x4efb;&#x52a1;&#x963b;&#x585e; 1000 &#x6beb;&#x79d2;&#x3002;","children":[],"payload":{"tag":"li","lines":"129,130"}},{"content":"xQueueReceive()&#xff1a;&#x5f53;&#x4efb;&#x52a1;&#x8c03;&#x7528;&#x8be5;&#x51fd;&#x6570;&#x4ece;&#x6d88;&#x606f;&#x961f;&#x5217;&#x63a5;&#x6536;&#x6570;&#x636e;&#x65f6;&#xff0c;&#x5982;&#x679c;&#x961f;&#x5217;&#x4e3a;&#x7a7a;&#xff0c;&#x4efb;&#x52a1;&#x4f1a;&#x8fdb;&#x5165;&#x963b;&#x585e;&#x6001;&#xff0c;&#x76f4;&#x5230;&#x961f;&#x5217;&#x4e2d;&#x6709;&#x6570;&#x636e;&#x53ef;&#x4f9b;&#x63a5;&#x6536;&#x3002;","children":[],"payload":{"tag":"li","lines":"130,131"}},{"content":"xSemaphoreTake()&#xff1a;&#x5f53;&#x4efb;&#x52a1;&#x8c03;&#x7528;&#x8be5;&#x51fd;&#x6570;&#x83b7;&#x53d6;&#x4fe1;&#x53f7;&#x91cf;&#x65f6;&#xff0c;&#x5982;&#x679c;&#x4fe1;&#x53f7;&#x91cf;&#x4e0d;&#x53ef;&#x7528;&#xff0c;&#x4efb;&#x52a1;&#x4f1a;&#x8fdb;&#x5165;&#x963b;&#x585e;&#x6001;&#xff0c;&#x76f4;&#x5230;&#x4fe1;&#x53f7;&#x91cf;&#x88ab;&#x91ca;&#x653e;&#x3002;","children":[],"payload":{"tag":"li","lines":"131,132"}}],"payload":{"tag":"li","lines":"128,132"}}],"payload":{"tag":"li","lines":"125,132"}},{"content":"&#x963b;&#x585e;&#x6001;&#x5230;&#x5c31;&#x7eea;&#x6001;","children":[{"content":"&#x6761;&#x4ef6;","children":[{"content":"&#x5f53;&#x4efb;&#x52a1;&#x7b49;&#x5f85;&#x7684;&#x4e8b;&#x4ef6;&#x53d1;&#x751f;&#x65f6;&#xff0c;&#x4efb;&#x52a1;&#x4f1a;&#x4ece;&#x963b;&#x585e;&#x6001;&#x8f6c;&#x6362;&#x4e3a;&#x5c31;&#x7eea;&#x6001;&#x3002;&#x4f8b;&#x5982;&#xff0c;&#x7b49;&#x5f85;&#x7684;&#x65f6;&#x95f4;&#x5230;&#x671f;&#x3001;&#x4fe1;&#x53f7;&#x91cf;&#x88ab;&#x91ca;&#x653e;&#x3001;&#x6d88;&#x606f;&#x961f;&#x5217;&#x4e2d;&#x6709;&#x65b0;&#x7684;&#x6570;&#x636e;&#x7b49;&#x3002;","children":[],"payload":{"tag":"li","lines":"134,135"}}],"payload":{"tag":"li","lines":"133,135"}},{"content":"&#x76f8;&#x5173;&#x51fd;&#x6570;","children":[{"content":"&#x7531; FreeRTOS &#x5185;&#x6838;&#x5728;&#x4e8b;&#x4ef6;&#x53d1;&#x751f;&#x65f6;&#x81ea;&#x52a8;&#x5c06;&#x4efb;&#x52a1;&#x4ece;&#x963b;&#x585e;&#x5217;&#x8868;&#x79fb;&#x9664;&#x5e76;&#x6dfb;&#x52a0;&#x5230;&#x5c31;&#x7eea;&#x5217;&#x8868;&#xff0c;&#x65e0;&#x9700;&#x7528;&#x6237;&#x624b;&#x52a8;&#x8c03;&#x7528;&#x51fd;&#x6570;&#x3002;","children":[],"payload":{"tag":"li","lines":"136,137"}}],"payload":{"tag":"li","lines":"135,137"}}],"payload":{"tag":"li","lines":"132,137"}},{"content":"&#x8fd0;&#x884c;&#x6001;&#x5230;&#x6302;&#x8d77;&#x6001;","children":[{"content":"&#x6761;&#x4ef6;","children":[{"content":"&#x4efb;&#x52a1;&#x8c03;&#x7528; vTaskSuspend() &#x51fd;&#x6570;&#x53ef;&#x4ee5;&#x5c06;&#x81ea;&#x8eab;&#x6302;&#x8d77;&#xff0c;&#x6216;&#x8005;&#x5176;&#x4ed6;&#x4efb;&#x52a1;&#x8c03;&#x7528;&#x8be5;&#x51fd;&#x6570;&#x5c06;&#x6307;&#x5b9a;&#x4efb;&#x52a1;&#x6302;&#x8d77;&#x3002;","children":[],"payload":{"tag":"li","lines":"139,140"}}],"payload":{"tag":"li","lines":"138,140"}},{"content":"&#x76f8;&#x5173;&#x51fd;&#x6570;","children":[{"content":"vTaskSuspend( TaskHandle_t xTaskToSuspend ); &#x5176;&#x4e2d; xTaskToSuspend &#x662f;&#x8981;&#x6302;&#x8d77;&#x7684;&#x4efb;&#x52a1;&#x53e5;&#x67c4;&#xff0c;&#x5982;&#x679c;&#x4f20;&#x5165; NULL &#x5219;&#x8868;&#x793a;&#x6302;&#x8d77;&#x5f53;&#x524d;&#x4efb;&#x52a1;&#x3002;","children":[],"payload":{"tag":"li","lines":"141,142"}}],"payload":{"tag":"li","lines":"140,142"}}],"payload":{"tag":"li","lines":"137,142"}},{"content":"&#x6302;&#x8d77;&#x6001;&#x5230;&#x5c31;&#x7eea;&#x6001;","children":[{"content":"&#x6761;&#x4ef6;","children":[{"content":"&#x8c03;&#x7528; vTaskResume() &#x51fd;&#x6570;&#x53ef;&#x4ee5;&#x5c06;&#x5904;&#x4e8e;&#x6302;&#x8d77;&#x6001;&#x7684;&#x4efb;&#x52a1;&#x6062;&#x590d;&#x5230;&#x5c31;&#x7eea;&#x6001;&#x3002;","children":[],"payload":{"tag":"li","lines":"144,145"}}],"payload":{"tag":"li","lines":"143,145"}},{"content":"&#x76f8;&#x5173;&#x51fd;&#x6570;","children":[{"content":"vTaskResume( TaskHandle_t xTaskToResume ); &#x5176;&#x4e2d; xTaskToResume &#x662f;&#x8981;&#x6062;&#x590d;&#x7684;&#x4efb;&#x52a1;&#x53e5;&#x67c4;&#x3002;","children":[],"payload":{"tag":"li","lines":"146,147"}}],"payload":{"tag":"li","lines":"145,147"}}],"payload":{"tag":"li","lines":"142,147"}},{"content":"&#x963b;&#x585e;&#x6001;&#x5230;&#x6302;&#x8d77;&#x6001;","children":[{"content":"&#x8fd9;&#x79cd;&#x8f6c;&#x6362;&#x901a;&#x5e38;&#x4e0d;&#x4f1a;&#x76f4;&#x63a5;&#x53d1;&#x751f;&#xff0c;&#x4e00;&#x822c;&#x9700;&#x8981;&#x5148;&#x5c06;&#x4efb;&#x52a1;&#x4ece;&#x963b;&#x585e;&#x6001;&#x5524;&#x9192;&#x5230;&#x5c31;&#x7eea;&#x6001;&#xff0c;&#x7136;&#x540e;&#x518d;&#x5c06;&#x5176;&#x6302;&#x8d77;&#x3002;&#x53ef;&#x4ee5;&#x5148;&#x4f7f;&#x7528;&#x76f8;&#x5e94;&#x7684;&#x51fd;&#x6570;&#x4f7f;&#x4efb;&#x52a1;&#x7b49;&#x5f85;&#x7684;&#x4e8b;&#x4ef6;&#x53d1;&#x751f;&#xff0c;&#x5c06;&#x5176;&#x53d8;&#x4e3a;&#x5c31;&#x7eea;&#x6001;&#xff0c;&#x518d;&#x8c03;&#x7528; vTaskSuspend() &#x51fd;&#x6570;&#x5c06;&#x5176;&#x6302;&#x8d77;&#x3002;","children":[],"payload":{"tag":"li","lines":"148,149"}}],"payload":{"tag":"li","lines":"147,149"}},{"content":"&#x6302;&#x8d77;&#x6001;&#x5230;&#x963b;&#x585e;&#x6001;","children":[{"content":"&#x540c;&#x6837;&#xff0c;&#x8fd9;&#x79cd;&#x8f6c;&#x6362;&#x4e5f;&#x4e0d;&#x4f1a;&#x76f4;&#x63a5;&#x53d1;&#x751f;&#x3002;&#x9700;&#x8981;&#x5148;&#x8c03;&#x7528; vTaskResume() &#x51fd;&#x6570;&#x5c06;&#x4efb;&#x52a1;&#x6062;&#x590d;&#x5230;&#x5c31;&#x7eea;&#x6001;&#xff0c;&#x7136;&#x540e;&#x8ba9;&#x4efb;&#x52a1;&#x7b49;&#x5f85;&#x67d0;&#x4e2a;&#x4e8b;&#x4ef6;&#xff0c;&#x4f7f;&#x5176;&#x8fdb;&#x5165;&#x963b;&#x585e;&#x6001;&#x3002;","children":[],"payload":{"tag":"li","lines":"150,151"}}],"payload":{"tag":"li","lines":"149,151"}}],"payload":{"tag":"h2","lines":"107,108"}}],"payload":{"tag":"h1","lines":"82,83"}}]},{})</script>
</body>
</html>
